﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Secure/Secure.Master" AutoEventWireup="true" CodeBehind="AddPhone.aspx.cs" Inherits="Site.Secure.AddPhone" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
<h1>Register Phone</h1>
<a>This page allows you to register a new phone. You will need to register a phone before it can be used for uploading or mobile managment features.</a>
    
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<table>
<tr>
<td>Phone Make<a>: </a></td>
<td> 
    <asp:TextBox ID="edtMake" runat="server" CssClass="Input" Width="150px" 
        MaxLength="50"></asp:TextBox></td>
</tr>
<tr>
<td><a>Phone Model:</a></td>
<td><asp:TextBox ID="edtModel" runat="server" CssClass="Input" Width="150px" 
        MaxLength="50"></asp:TextBox></td>
</tr>

<tr>
<td><a>IMEI:</a></td>
<td><asp:TextBox ID="edtIMEI" runat="server" CssClass="Input" Width="150px" 
        MaxLength="15"></asp:TextBox></td>
</tr>

<tr>
<td style="height: 27px"><a>Phone Number:</a></td>
<td style="height: 27px"><asp:TextBox ID="edtNumber" runat="server" 
        CssClass="Input" Width="150px" 
        MaxLength="50"></asp:TextBox></td>
</tr>
<tr>
<td style="height: 30px"></td>
<td align=right style="height: 30px" ><asp:Button ID="Button1" runat="server" Text="Register" 
        onclick="Button1_Click" Width="77px" /></td>
</tr>
</table>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" 
        ConnectionString="<%$ ConnectionStrings:csMain %>" 
        SelectCommand="SELECT * FROM [Phones]" 
        ProviderName="System.Data.SqlClient"></asp:SqlDataSource>
</asp:Content>
